<!--partner_index-->
<style>
.partner-index-header {
  margin-top: 2em;
}
.partner-index-header fieldset {
  border: 2px solid #3eabb8;
}
.partner-index-header fieldset ul li em {
  margin-right: 1em;
  font-style: normal;
}
.partner-index-header fieldset .more {
  margin-bottom: -.2em;
  padding-right: 1em;
}
.partner-index-header legend {
  padding: 0 1em;
}
.submit-order-btn {
  margin: 2em 0;
  text-align: center;
}
.partner-index-statistic td em {
  background-image: url(/statics/front/images/partner/partner_index_icon.png);
  background-repeat: no-repeat;
  width: 40px;
  height: 40px;
  display: block;
  margin: 0 auto;
}
.partner-index-statistic td .num {
  font-weight: bold;
}
.customer-count {
  background-position: 4px 6px;
}
.order-count {
  background-position: -38px 6px;
}
.order-money-sum{
  background-position: -86px 6px;
}
.order-paid-sum {
  background-position: -132px 6px;
}
.partner-index-statistic .orange{
  color: #fe8f00;
}
</style>
<div class="partner-index-header" hidden>
    <fieldset>
        <legend class="align-center"><?php echo L('_News_');?></legend>
        <ul>
            <?php foreach($articleList as $article):?>
            <li><em><?php echo date('d-m-Y', $article['start_time']);?></em>
            <a href="#<?php echo $article['id'];?>"><?php echo $article['name'];?></a></li>
            <?php endforeach;?>
        </ul>
        <div class="more align-right"><a href="#" class="link"><?php echo L('more');?></a></div>
    </fieldset>
</div>
<p class="submit-order-btn">
    <a href="<?php echo url('partner/order_add');?>" class="btn"><span class="fa fa-plus"> </span> <?php echo L('_Submit_an_order_');?></a>
</p>
<!--当天新增-->
<div class="partner-title">
    <strong><?php echo L('Data_Information');?></strong>
</div>
<table class="align-center partner-index-statistic">
    <tr>
        <td>
            <em class="customer-count"></em>
            <?php echo L('clientNumber');?> <br/>
            <span class="num"><?php echo $address_count;?></span>
        </td>
        <td>
            <em class="order-count"></em>
            <?php echo L('orderNumber');?> <br/>
            <span class="num"><?php echo $order_count;?></span>
        </td>
        <td>
            <em class="order-money-sum"></em>
            <?php echo L('orderAmount');?> <br/>
            <span class="num orange"><?php echo currency($order_field['order_amount']);?></span>
        </td>
        <td>
            <em class="order-paid-sum"></em>
            <?php echo L('Paid_Amount');?> <br/>
            <span class="num orange"><?php echo currency($order_field['pay_amount']);?></span>
        </td>
    </tr>
</table>
<script src="/statics/js/WdatePicker/WdatePicker.js"></script>